//
//  MYGImageDetailCell.swift
//  MYDoctor
//
//  Created by Denny on 2024/5/6.
//

import UIKit

class MYGImageDetailCell: UICollectionViewCell {
    var icon: UIImageView = {
        let control = UIImageView()
        control.contentMode = .scaleAspectFill
        return control
    }()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        addSubview(icon)
        icon.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
